<?php
class TopicModel extends Model{
    
    public function TopicModel($mainType){
        parent::__construct();
        $this->tableName= 'topic_'.$mainType;
    }
}
?>